import api from "./base.js";
// 列表
export const getList = ({ data = {}, callback }) => {
  // pageNo
  // pageSize
  api.init({
    url: "/admin-api/hotline/biz-bill/page",
    method: "get",
    data,
    callback,
  });
};
export const getDetail = ({ data = {}, callback }) => {
  console.log(data);
  api.init({
    url: "/admin-api/hotline/biz-bill/get",
    method: "get",
    query: data,
    callback,
  });
};
export const reveivingBill = ({ data = {}, callback }) => {
  api.init({
    url: "/admin-api/hotline/biz-bill/reveivingBill",
    method: "put",
    data,
    callback,
  });
};
export const completionBill = ({ data = {}, callback }) => {
  api.init({
    url: "/admin-api/hotline/biz-bill/completionBill",
    method: "put",
    data,
    callback,
  });
};

export const otherTransfer = ({ data = {}, callback }) => {
  api.init({
    url: "/admin-api/hotline/biz-bill/otherTransfer",
    method: "put",
    data,
    callback,
  });
};

